package io.renren.modules.photo.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @Author huan.xu
 * @Date 2022/11/2 11:14
 * @Description
 */
@Data
@ApiModel(value = "照片列表")
public class PhotoInfoDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "id")
  private Long id;

  /**
   * 照片名称
   */
  @ApiModelProperty(value = "照片名称")
  private String name;
  /**
   * 照片文件类型
   */
  @ApiModelProperty(value = "照片文件类型")
  private String fileType;
  /**
   * 下载地址
   */
  @ApiModelProperty(value = "下载地址")
  private String downloadUrl;
  /**
   * 实际路径
   */
  @ApiModelProperty(value = "实际路径")
  private String storagePath;
  /**
   * 照片大小
   */
  @ApiModelProperty(value = "照片大小")
  private String size;

  @ApiModelProperty(value = "创建时间")
  @JsonProperty(access = JsonProperty.Access.READ_ONLY)
  private Date createDate;

  /**
   * 上传人
   */
  @ApiModelProperty(value = "上传人")
  private String createUser;

  /**
   * 标签Id
   */
  @ApiModelProperty(value = "标签Id")
  private String photoLabelIds;

  /**
   * 标签名称
   */
  @ApiModelProperty(value = "标签名称")
  private String photoLabelNames;

}
